﻿<s:TagVisualization x:Class="navigation.Controls.MainMenuTag"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:s="http://schemas.microsoft.com/surface/2008"
             xmlns:local="clr-namespace:navigation"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <!--<Label Name="ActiveLabel" Content="Touch here to activate the menu" Background="Gray" Foreground="White"/>-->
        <s:ElementMenu Width="100" Height="100" ActivationMode="HostInteraction" IsSubmenuOpen="True" Orientation="90">
            <s:ElementMenuItem Header="PreviousPage" Command="{x:Static local:SurfaceWindow1.MainMenuCommand}" CommandParameter="{Binding Path=Header,RelativeSource={x:Static RelativeSource.Self}}"/>
            <s:ElementMenuItem Header="NextPage" Command="{x:Static local:SurfaceWindow1.MainMenuCommand}" CommandParameter="{Binding Path=Header,RelativeSource={x:Static RelativeSource.Self}}"/>
            <s:ElementMenuItem Header="Exit" Command="{x:Static local:SurfaceWindow1.MainMenuCommand}" CommandParameter="{Binding Path=Header,RelativeSource={x:Static RelativeSource.Self}}"/>
        </s:ElementMenu>
    </Grid>
</s:TagVisualization>
